package cn.jobstart.modelExt;

import cn.jobstart.enums.CompanyJobSalaryFlagEnum;
import cn.jobstart.enums.CompanyNatureEnum;
import cn.jobstart.modelDesc.CompanyJobDesc;
import lombok.Data;


/**
 * @author sunke
 * @Date 2023-09-06 15:00:20
 * @description CompanyJobExt      企业职位
 */
@Data
public class CompanyJobExt extends CompanyJobDesc {

    //行业、地址、规模、性质

    private String companyName;
    private String companyScaleDesc;
    private Integer companyScale;
    private String companyAddress;
    private Integer companyNature;
    private String companyNatureDesc;
    private String companyIndustry;

    private String jobName;

    public String getCompanyScaleDesc() {
        companyScaleDesc = CompanyJobSalaryFlagEnum.getDescByType(getCompanyScale());
        return companyScaleDesc;
    }

    public String getCompanyNatureDesc() {
        companyNatureDesc = CompanyNatureEnum.getDescByType(getCompanyNature());
        return companyNatureDesc;
    }


}

